const wxApp = [
  {
    path: 'wxApp',
    component: () => import(/* webpackChunkName: "platform" */ '@/layout/platform'),
    name: 'wxApp',
    redirect: '/wxApp',
    alwaysShow: true,
    meta: {
      title: 'wxApp',
      code: 'AppDefaultCustom',
      icon: 'el-icon-connection',
      deleteThis: true
    },
    children: [
      {
        path: 'banner',
        component: () => import(/* webpackChunkName: "platform" */ '@/views/wxApp/banner/index'),
        meta: {
          title: 'banner',
          code: 'AppDefaultCustom',
          icon: 'el-icon-picture-outline'
        }
      },
      {
        path: 'addBanner',
        component: () => import(/* webpackChunkName: "platform" */ '@/views/wxApp/banner/photoCropper/index')
      },
      {
        path: 'news',
        name: 'news',
        component: () => import(/* webpackChunkName: "platform" */ '@/views/wxApp/news/index'),
        meta: {
          title: 'news',
          code: 'AppDefaultCustom',
          icon: 'el-icon-news'
        }
      },
      {
        path: 'editNews',
        name: 'editNews',
        component: () => import(/* webpackChunkName: "platform" */ '@/views/wxApp/news/editNews')
      },
      {
        path: 'newsType',
        name: 'newsType',
        component: () => import(/* webpackChunkName: "platform" */ '@/views/wxApp/news/newsType'),
        meta: {
          title: 'newsType',
          code: 'AppDefaultCustom',
          icon: 'el-icon-thumb'
        }
      },
      {
        path: 'goods',
        name: 'goodsTop',
        component: () => import(/* webpackChunkName: "platform" */ '@/views/wxApp/mall/goods'),
        meta: {
          title: 'goodsTop',
          code: 'AppDefault',
          icon: 'el-icon-sort-up'
        }
      }
    ]
  }
];

export default [
  ...wxApp
];
